package org.redpig.mimall.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserRegisterForm {

    //用于string，判读空格
    @NotBlank
    @NotNull
//    @NotEmpty 用于集合
    private String username;

    @NotBlank
    @NotNull
    private String password;

    @NotBlank
    @NotNull
    private String email;
}
